﻿using System.Linq;
using System.ServiceModel;
using System.ServiceModel.Activation;
using MvcWebRole1.Models;
using MvcWebRole1.Repositories;

namespace MvcWebRole1
{
    [ServiceContract(Namespace = "")]
    [AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed)]
    public class ExpensesStatus
    {
        [OperationContract]
        public string GetActiveBookmarks(string deviceUniqueId)
        {
            var repository = new WorkflowRepository();
            var result = repository.GetActiveBookmarks(deviceUniqueId);
            return result;
        }
    }    
}
